<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: Welcome to VOIP  MATRIX ::</title>
<?php 
	echo link_css('style.css');
?>
</head>
<body>
<div class="loginBg">
  <div class="loginbox">
    <div align="center"><img src="<?php echo imageUrl(); ?>logo.jpg" width="242" height="65" alt="" /></div>
    <div>
      <div class="FloatLeft"><img src="<?php echo imageUrl(); ?>red_leftRound.jpg" width="4" height="24" alt="" /></div>
      <div class="red_midRound" style="width:351px;">Member Login</div>
      <div class="FloatLeft"><img src="<?php echo imageUrl(); ?>red_rightRound.jpg" width="4" height="24" alt="" /></div>
      <div class="divFix"></div>
    </div>
    <div class="borderTLR" style="background:#FFF;">
      <form name="frmLogin" id="frmLogin" method="post" action="<?php echo base_url(); ?>login/auth">
        <table cellpadding="3" cellspacing="0" width="320px;" border="0" align="center">
          <tr>
            <td colspan="2"><?php 
								if(!empty($error)){
									echo '<div class="errorDiv">'.$error.'</div>';
								} ?>
            </td>
          </tr>
          <tr>
            <td colspan="2"><strong>User Name:</strong></td>
          </tr>
          <tr>
            <td colspan="2"><div class="textFieldBg">
                <div class="textFieldLeft"></div>
                <div class="textFieldMid" align="center">
                  <div class="userNameIcon"></div>
                  <div class="FloatLeft padTP9px padLF4">
                    <input class="textField" type="text" name="username" id="username" style="width:263px; font-weight:bold;" value="<?php echo set_value('username'); ?>" />
                    <?php echo form_error('username', '<div class="errorMsg_1" style="margin-top:15px;">', '</div>'); ?></div>
                </div>
                <div class="textFieldRight"></div>
              </div></td>
          </tr>
          <tr>
            <td colspan="2"><strong>Password</strong></td>
          </tr>
          <tr>
            <td colspan="2"><div class="textFieldBg">
                <div class="textFieldLeft"></div>
                <div class="textFieldMid" align="center">
                  <div class="PasswordIcon"></div>
                  <div class="FloatLeft padTP9px padLF4">
                    <input class="textField" type="password" name="password" id="password" style="width:263px;" value="<?php echo set_value('password'); ?>"  />
                    <?php echo form_error('password', '<div class="errorMsg_1" style="margin-top:15px;">', '</div>'); ?> </div>
                </div>
                <div class="textFieldRight"></div>
              </div></td>
          </tr>
          <tr>
            <td  width="49" height="45"><input class="loginBtn" type="submit" value="" /></td>
            <td width="259" class="forgotPassword"></td>
          </tr>
          <!-- <tr>
                                  <td colspan="2"><div class="successfullyDiv">Successfully Done!</div></td>
                              </tr>-->
        </table>
      </form>
    </div>
    <div>
      <div class="FloatLeft"><img src="<?php echo imageUrl(); ?>roundLeftBtm.jpg" width="5" height="5" alt="" /></div>
      <div class="roundMidBtm" style="width:349px;"></div>
      <div class="FloatLeft"><img src="<?php echo imageUrl(); ?>roundRightBtm.jpg" width="5" height="5" alt="" /></div>
    </div>
    <div align="center"><img src="<?php echo imageUrl(); ?>shadowBtm.png" width="339" height="24" alt="" /></div>
  </div>
</div>
<div class="footer" style="position:absolute; bottom:0px; width:100%; text-align:center;">Copyright &copy; <?php echo date('Y'); ?>. All Rights Reserved TRG World Pakistan.</div>
</body>
</html>
